home *** CD-ROM | disk | FTP | other *** search
/ Your Mobile: Alcatel / Alcatel 2005.iso / Create Animation / setup.exe / setup.msi / Data1.cab / WizardAnim.swf7 / scripts / frame_1 / DoAction.as
Encoding:
Text File  |  2003-05-27  |  1.8 KB  |  84 lines

  1. function chgStep(n)
  2. {
  3.    fscommand("ChangeStep",n);
  4. }
  5. function initradio(grp)
  6. {
  7.    if(grp == 1)
  8.    {
  9.       ImageSize = "";
  10.       MainIntro.FullScreen.pnt.gotoAndStop(1);
  11.       MainIntro.HalfScreen.pnt.gotoAndStop(1);
  12.    }
  13.    else if(grp == 3)
  14.    {
  15.       Action = "";
  16.       MainIntro.Create.pnt.gotoAndStop(1);
  17.       MainIntro.Open.pnt.gotoAndStop(1);
  18.    }
  19. }
  20. function LoadTitle(hclp, str)
  21. {
  22.    hclp.loadMovie(str);
  23.    trace(hclp._name + "," + str);
  24. }
  25. function ShowText(str, group, hclp)
  26. {
  27.    CurrentCaption = hclp;
  28.    xoffset = yoffset = 0;
  29.    if(group == 2)
  30.    {
  31.       xoffset = - caption._width - 30;
  32.    }
  33.    caption.txt = str;
  34.    caption._x = _root._xmouse + 15 + xoffset;
  35.    caption._y = _root._ymouse + yoffset;
  36. }
  37. function HideText(hclp)
  38. {
  39.    if(CurrentCaption == hclp)
  40.    {
  41.       caption._x = -200;
  42.       CurrentCaption = null;
  43.    }
  44. }
  45. function ShowTT(str, hclp)
  46. {
  47.    CurrentTT = hclp;
  48.    _root.tt = str;
  49. }
  50. function HideTT(hclp)
  51. {
  52.    if(CurrentTT == hclp)
  53.    {
  54.       _root.tt = "";
  55.    }
  56. }
  57. tt = "";
  58. _SelectType = "";
  59. _SaveOnComp = "";
  60. _ApplyType = "";
  61. CurrentLink = "";
  62. _ErrTxt = "";
  63. _OkTxt = "<b>F{invalid_utf8=233}licitations.</b>\nVotre animation %1% est maintenant sur votre t{invalid_utf8=233}l{invalid_utf8=233}phone. Vous la trouverez dans l\'album images.\nVous pouvez l\'utiliser comme animation pour votre {invalid_utf8=233}cran d\'accueil, l\'associer avec un contact, l\'envoyer par MMS, et bien d\'autres...";
  64. CurrentCaption;
  65. Action == "";
  66. ImageSize = "";
  67. fscommand("allowscale",false);
  68. if(frm != undefined)
  69. {
  70.    if(this.getBytesLoaded() == this.getBytesTotal())
  71.    {
  72.       gotoAndStop(2, frm);
  73.    }
  74. }
  75. else
  76. {
  77.    if(this.getBytesLoaded() == this.getBytesTotal())
  78.    {
  79.       fscommand("load",this.getBytesLoaded() + "/" + this.getBytesTotal());
  80.       gotoAndStop("debut");
  81.    }
  82.    play();
  83. }
  84.